package com.taru.model;

import java.util.Date;
//水果批次表
public class Fruits {
    private String fruitsId;//水果id
    private String fruitsKind;//水果种类
    private String fruitsBatch;//批次
    private String userId;//专家或者农户id
    private User user;
    private Date createDate;
    private Date upDate;
    private String status;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Date getUpDate() {
        return upDate;
    }

    public void setUpDate(Date upDate) {
        this.upDate = upDate;
    }


    public String getFruitsId() {
        return fruitsId;
    }

    public void setFruitsId(String fruitsId) {
        this.fruitsId = fruitsId;
    }

    public String getFruitsKind() {
        return fruitsKind;
    }

    public void setFruitsKind(String fruitsKind) {
        this.fruitsKind = fruitsKind;
    }

    public String getFruitsBatch() {
        return fruitsBatch;
    }

    public void setFruitsBatch(String fruitsBatch) {
        this.fruitsBatch = fruitsBatch;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Fruits{" +
                "fruitsId='" + fruitsId + '\'' +
                ", fruitsKind='" + fruitsKind + '\'' +
                ", fruitsBatch='" + fruitsBatch + '\'' +
                ", userId='" + userId + '\'' +
                ", createDate=" + createDate +
                ", upDate=" + upDate +
                ", status='" + status + '\'' +
                '}';
    }
}
